﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site2.master" CodeBehind="List.aspx.vb" Inherits="Prototype1.List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <asp:GridView ID="GridView1" runat="server" AllowSorting="True" 
            AutoGenerateColumns="False" BackColor="#CCCCCC" BorderColor="#999999" 
            BorderStyle="Solid" BorderWidth="3px" CellPadding="4" CellSpacing="2" 
            DataSourceID="SqlDataSource1" ForeColor="Black" AllowPaging="True" 
            DataKeyNames="ID" Width="714px" 
    style="margin-right: 11px; margin-left: 28px;">
            <Columns>
                <asp:BoundField DataField="Robot_Name" HeaderText="Robot Name" 
                    SortExpression="Robot_Name" />
                <asp:BoundField DataField="Creator" HeaderText="Creator" 
                    SortExpression="Creator" />
                <asp:ImageField DataImageUrlField="Picture" HeaderText="Picture">
                    <ControlStyle CssClass="picSizer" />
                </asp:ImageField>
                <asp:BoundField DataField="Ranking" HeaderText="Power" 
                    SortExpression="Ranking" />
                <asp:HyperLinkField DataNavigateUrlFields="ID" 
                    DataNavigateUrlFormatString="Details2.aspx?ID={0}" HeaderText="More Info" 
                    Text="Details" />
            </Columns>
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
            <RowStyle BackColor="White" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>
<p>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:roboticsConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:roboticsConnectionString.ProviderName %>" 
            
            
            
            SelectCommand="SELECT * FROM [mastTable1]">
        </asp:SqlDataSource>
        <br />
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>
